/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.stress.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 传感器设备管理表实体类
 *
 * @author Yanzujian
 * @since 2021-01-09
 */
@Data
@TableName("stress_sensor")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Gateway对象", description = "传感器设备管理表")
public class Gateway extends TenantEntity {

	private static final long serialVersionUID = 1L;
	/**
	* 父级仪器
	*/
		@ApiModelProperty(value = "父级仪器")
		private Long parentId;
	/**
	 * 测点ID
	 */
		@ApiModelProperty(value = "测点ID")
		private Long positionId;
	/**
	* 仪器编号
	*/
		@ApiModelProperty(value = "仪器编号")
		private String code;
	/**
	* 仪器名称
	*/
		@ApiModelProperty(value = "仪器名称")
		private String name;
	/**
	* 仪器别名
	*/
		@ApiModelProperty(value = "仪器别名")
		private String alias;
	/**
	* 仪器类型
	*/
		@ApiModelProperty(value = "仪器类型")
		private Integer sensorType;
	/**
	* 仪器状态
	*/
		@ApiModelProperty(value = "仪器状态")
		private Integer statusType;
	/**
	* 排序
	*/
		@ApiModelProperty(value = "排序")
		private Integer sensorSort;
	/**
	* 频率
	*/
		@ApiModelProperty(value = "频率")
		private Integer sensorRate;
	/**
	* 网关地址
	*/
		@ApiModelProperty(value = "网关地址")
		private String gatewayIp;
	/**
	* 电量
	*/
		@ApiModelProperty(value = "电量")
		private Integer power;
	/**
	* 信号
	*/
		@ApiModelProperty(value = "信号")
		private Integer sign;
	/**
	 * 初始值
	 */
		@ApiModelProperty(value = "初始值")
		private float firstValue;
}
